#ifndef _CONNECTION_H_
#define _CONNECTION_H_
//#ifdef	_win32
//	typedef int ssize_T
//#endif


#if !defined( __ssize_t_defined )
typedef long int        ssize_t;
#endif

class Connection
	{
	public:
	    Connection();
	    virtual ~Connection();

	    virtual void                close();
		void						StockCliInfo(int socket, unsigned int ip);
		const std::string			getSocket();
	  //::ssize_t			SendToCli(api::Resource res, void *buf, size_t);
	  //::ssize_t			RecvFromCli(api::Resource res, void *buf, size_t);
	private:
		std::pair<std::string, std::string>	_infoClient;
	};

#endif
